package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.annotation.DefaultValue;
import com.sk.bilibili.bean.interfaces.CountAble;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
/**
* @author 邵康
* @date 2021/11/25 14:29
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Favorites implements CountAble {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private Integer memberId;
    @ApiModelProperty("是否开放  默认开放")
    private Boolean opened;
    private String cover;
    @TableField(exist = false)
    private MultipartFile coverFile;
    private Integer count;
    private String info;
    private Boolean root;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
